﻿using System;
using System.Data.SqlClient;

namespace EasyBuy.DAL
{
    /// <summary>
    /// EasyBuy数据库管理类
    /// By:田玉粮
    /// 2012-7-15
    /// </summary>
    public  class EasyBuyUntil
    {
        private static SqlConnection _conn = null;
        private static String strEasyBuyConn = @"server=TYL\MSSQLSERVER2008;Initial Catalog=EasyBuy;uid=sa;pwd=cddx";
        /// <summary> 
        /// 获得EasyBuy数据库连接对象的实例
        /// </summary>
        public static SqlConnection GetEasyBuyConn
        {
            get
            {
                _conn = new SqlConnection(strEasyBuyConn);
                return _conn  ;
            }
        }

    }
}
